#include "atm.h"
#include "user.h"
#include "admin.h"
#include "group.h"
#include <iostream>
using namespace std;

int main(){
	Atm *myAtm = new Atm;
	myAtm->loadUsers("users.info");
	Admin admin(myAtm);
	Group g(admin);
	g.run();
	myAtm->writeUsers("users.info");
	delete myAtm;

	return 0;
}